﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using DataSynchronizer;
using GenericEntities;
using GoogleAdapter;
using System.Collections;

namespace DiaryPlanner
{
    class CalendarConnection
    {
        private static CalendarConnection instance;
        SyncService service = new SyncService();

        public CalendarConnection()
        {

        }

        public static CalendarConnection Instance()
        {
            if (instance == null) instance = new CalendarConnection();
            return instance;
        }

        public void addCalendar(string title, string contents, string location, DateTime startTime, DateTime endTime)
        {
            service.addCalendar(title,contents,location,startTime,endTime);
        }

        public void updateCalendar(string title, string contents, string location, DateTime startTime, DateTime endTime)
        {
        }

        public void delCalendar(string title, string contents, string location, DateTime startTime, DateTime endTime)
        {
        }
        
    }
}
